package work20241203_chap6oop.l_demo9_new;

/**
 * @author zdl
 * @date 2024/12/5
 */
public class Role1 {
    private String name;

    public  int attack(){
        return 0;
    }

    public Role1() {
    }

    public Role1(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
